import java.util.Scanner;

class Person {

	private String name;
	private int age;
	private boolean gender;
	private int id;

	public Person(){

		System.out.println("This is constructor"+name);

    		System.out.println("This is constructor"+age);
		System.out.println("This is constructor"+gender);					System.out.println("This is constructor"+id);
		}
public Person(String name,int age,boolean gender){

	this.name="null";
	this.age=0;
	this.gender=false;

	}

public void toString(String n,int a,boolean g,int i){

	this.name = n;

	this.age = a;
	this.gender = g;
	this.id = i;

	System.out.println("Person [name="+this.name+",age="+this.age+",gender="+this.gender+",id="+this.id+"]");
	}

}

public class gouzao {
	public static void main(String[] args){

	Scanner reader = new Scanner(System.in);
	String n = reader.next();
	int a = reader.nextInt();

	boolean g = reader.nextBoolean();

	int i = reader.nextInt();
	//Person (){

	//System.out.println("Person");
	//}
	Person tt = new Person();
	tt.toString(n,a,g,i);

	}
}